import { createStore } from "vuex"
export default createStore({
	state: {
		tabIndex: 1,
		isShowLogin: false
	},
	mutations: {
		setLoginStatus(state, isShow) {
			state.isShowLogin = isShow
		},
		setTabIndex(state, index) {
			state.tabIndex = index
		},
	}
})